package liangtWorkSpace.springAll.di.cllection;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author liangt
 * @ClassName: MainApp
 * @title: MainApp
 * @projectName liangtWorkSpace.springAll.di.cllection
 * @description: TODO
 * @date 2020/10/15 18:39
 */
public class MainApp {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("DI/collection/Beans.xml");
        JavaCollection jc=(JavaCollection)context.getBean("javaCollection");
        jc.getAddressList();
        jc.getAddressSet();
        jc.getAddressMap();
        jc.getAddressProp();
    }
}
